<?php

namespace api\app\controller;

use api\app\model\NavModel;
use cmf\controller\RestBaseController;
use think\Request;

class NavController extends RestBaseController
{
    public function index(Request $request)
    {
        $list = NavModel::order('id','desc')
            ->select();
        $this->success('菜单子菜单/导航栏管理',$list);
    }
}